﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestFile.aspx.vb" Inherits="LullabyFullDeCaixa.Web.TestFile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" Text="Data Inici"></asp:Label>
        <asp:TextBox ID="txtDataInici" runat="server" />
    
    </div>
    <div>
    
        <asp:Label ID="Label2" runat="server" Text="Data Fi"></asp:Label>
        <asp:TextBox ID="txtDataFi" runat="server" />
    
        <br />
    
    </div>
    <div>
        <asp:ObjectDataSource   
            ID="DadesHostals"  
            runat="server"  
            TypeName="LullabyFullDeCaixa.Web.DadesTestFile"  
            SelectMethod="GetHostals"  
            >  
        </asp:ObjectDataSource>     
        <asp:Label ID="Label3" runat="server" Text="Hostal"></asp:Label>
        <asp:DropDownList ID="cboHostals"             
            DataSourceID="DadesHostals"  
            DataTextField="Nom"  
            DataValueField="Id"
            runat="server">
        </asp:DropDownList>
    
    </div>
    <input id="Button1" 
            type="button" 
            value="Control"   
            runat="server"   
            onserverclick="Button1_ServerClick"  />
    <input id="Button2" 
            type="button" 
            value="Resum"   
            runat="server"   
            onserverclick="Button2_ServerClick" />
    <input id="Button4" 
            type="button" 
            value="Resum"   
            runat="server"   
            onserverclick="Button4_ServerClick" />
     <br/>
    <br />
        <asp:ObjectDataSource   
            ID="DadesUsuaris"  
            runat="server"  
            TypeName="LullabyFullDeCaixa.Web.DadesTestFile"  
            SelectMethod="GetUsuaris"  
            >  
        </asp:ObjectDataSource>     
        <asp:DropDownList ID="cboUsuaris"             
            DataSourceID="DadesUsuaris"  
            DataTextField="Nom"  
            DataValueField="Id"
            runat="server">
        </asp:DropDownList>
        <br />
    <input id="Button3" 
            type="button" 
            value="Control"   
            runat="server"   
            onserverclick="Button3_ServerClick" />
    
    </form>
    
</body>
</html>
